﻿using BCCommon;
using BCCommon.TMS.Driver;
using BCDto.Sim.Admin.Admin;
using BCDto.TMS.Driver.DriverLearnDatum;

namespace BCService.TMS.Driver.DriverLearnDatum
{
    public interface IDriverLearnDatumService
    {
        DriverLearnDatumAnswerViewDto Add(AdminDto admin, DriverLearnDatumRequestDto dto);

        bool Delete(int datumId);

        DriverLearnDatumDto GetDriverLearnDatumById(int datumId);

        PageableList<DriverLearnDatumDto> GetDriverLearnDatums(string datumTopic, string answerContent, DriverRoleType? appliedTo, int index, int size);

        DriverLearnDatumAnswerViewDto DriverLearnDatumByDatumIdWithAnswer(int datumId);
    }
}
